package com.wolf.constant;
/**
 * @ClassName SessionKey
 * @Description 保存的key
 * @Author MarcoChan
 * @Date 2019/4/12 15:46
 * @Version 1.0
 **/
public enum SessionKey {

    USERINFO("USERINFO","用户信息");

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private SessionKey(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String toString() {
        return code + ":" + message;
    }

}